<?php /* Smarty version 2.6.26, created on 2018-07-26 05:26:06
         compiled from D:%5Citemstudy%5Citem/admin%5Ctemplates/goods_order/seller.html */ ?>
<?php $_smarty_tpl_vars = $this->_tpl_vars;
$this->_smarty_include(array('smarty_include_tpl_file' => "index/header.html", 'smarty_include_vars' => array()));
$this->_tpl_vars = $_smarty_tpl_vars;
unset($_smarty_tpl_vars);
 ?>
<style>
	tbody .guige{
		color: #000;
		padding-left:15px;
	}
</style>
<div class="nav"><span>需求列表</span></div>
<div class="filter">
	<a href="?m=goods_order&a=seller" class="<?php if ($_GET['status'] == ''): ?>option_ch<?php else: ?>option<?php endif; ?>">全部</a>
	<a href="?m=goods_order&a=seller&status=1" class="<?php if ($_GET['status'] == '1'): ?>option_ch<?php else: ?>option<?php endif; ?>">已完成</a>
	<a href="?m=goods_order&a=seller&status=2" class="<?php if ($_GET['status'] == '2'): ?>option_ch<?php else: ?>option<?php endif; ?>">未完成</a>
</div>
<div class="main"> 
	<table class="ltable">
	  	<thead>
		  	<tr>
				<th width="180">标题</th>
				<th width="180">发布人</th>
				<th width="150">分类</th>
				<th>规格</th>
				<th width="200">发布时间</th>
				<th width="130">投标人数</th>
				<th width="150">投标状态</th>
				<th width="200">操作</th>
		  	</tr>
	  	</thead>
		<tbody>
	<?php if ($this->_tpl_vars['data']['list']): ?>
		<?php $_from = $this->_tpl_vars['data']['list']; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array'); }if (count($_from)):
    foreach ($_from as $this->_tpl_vars['i']):
?>
			<tr>
				<td><?php echo $this->_tpl_vars['i']['title']; ?>
</td>
				<td><?php echo $this->_tpl_vars['i']['nick']; ?>
</td>
				<td><?php echo $this->_tpl_vars['i']['name']; ?>
</td>
				<td><?php echo $this->_tpl_vars['i']['goods_guige']; ?>
</td>
				<td><?php echo $this->_tpl_vars['i']['addtime']; ?>
</td>
				<td><?php echo $this->_tpl_vars['i']['tbs']; ?>
</td>
				<td><?php if ($this->_tpl_vars['i']['tbzt'] == 0): ?>投标进行中<?php else: ?>投标已完成<?php endif; ?></td>
				<td>
					<a href="?m=goods_order&a=seller_detail&id=<?php echo $this->_tpl_vars['i']['id']; ?>
" class="view">查看</a>
				</td>
			</tr>
		<?php endforeach; endif; unset($_from); ?>
	<?php else: ?>
	  		<tr><td colspan="11">还没有数据，赶快添加吧！</td></tr>
	<?php endif; ?>
		</tbody>
	</table> 
	<?php if ($this->_tpl_vars['data']['page']): ?>
		<div class="operate"> 
			<div class="tpage"><?php echo $this->_tpl_vars['data']['page']; ?>
</div>
		</div>
	<?php endif; ?> 
</div>
<?php $_smarty_tpl_vars = $this->_tpl_vars;
$this->_smarty_include(array('smarty_include_tpl_file' => "index/footer.html", 'smarty_include_vars' => array()));
$this->_tpl_vars = $_smarty_tpl_vars;
unset($_smarty_tpl_vars);
 ?> 
<script type="text/javascript">
_delete('?m=goods_order&a=del', '.del_ck');
</script>